import 'package:flutter_nb_net/flutter_net.dart';
import 'package:tracker/pages/home/setting/model/remote_setting_list_resp.dart';

class CommandConfigResp extends BaseNetModel {
  int? code;
  String? msg;
  RemoteSettingData? data;

  CommandConfigResp({this.code, this.msg, this.data});

  @override
  fromJson(Map<String, dynamic> json) {
    return CommandConfigResp(
      code: json['code'],
      msg: json['msg'],
      data: json['data'] != null ? RemoteSettingData().fromJson(json['data']) : null,
    );
  }
}
